<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>过渡效果案例</title>
    <style>
      * {
        padding: 0;
        margin: 0;
      }
      .box {
        width: 990px;
        height: 500px;
        /* border: 1px solid black; */
        margin: 20px auto;
        text-align: center;
      }
      .box .box1 {
        width: 180px;
        height: 50px;
        border: 1px solid black;
        border-radius: 5px;
        box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
        line-height: 50px;
        float: left;
        margin-bottom: 20px;
        margin-top: 20px;
        margin-right: 20px;
        background-color: transparent;
        transition: all 1s ease 0s;
      }
      .box .box1 a {
        text-decoration: none;
        display: inline-block;
        width: 180px;
        height: 50px;
        color: black;
      }
      .box .box1:hover {
        border: 1px solid rgba(255, 0, 0, 0.418);
        background-color: rgba(255, 251, 0, 0.377);
      }
    </style>
  </head>
  <body>
    <div class="box">
      <h1>过渡效果和动画传送门</h1>
      <div class="box1"><a href="./yilong.html">案例1:艺龙</a></div>
      <div class="box1"><a href="./gugong.html">案例2：故宫</a></div>
      <div class="box1"><a href="./xuanzhuan.html">案例3：图标</a></div>
      <div class="box1"><a href="./fangai.html">案例4：翻盖</a></div>
      <div class="box1"><a href="./zhengfangti.html">案例5：正方体</a></div>
      <div class="box1"><a href="./keyframes.html">案例6：正方体</a></div>
      <div class="box1"><a href="./dengpao.html">案例7：灯泡</a></div>
      <div class="box1"><a href="./huojian.html">案例8：火箭</a></div>
    </div>
  </body>
</html>
